﻿@model IEnumerable<BskLeague.Models.AvaibleTerm>

@{
    ViewBag.Title = "Terms";
}

<script src="../../Scripts/MicrosoftAjax.js" type="text/javascript"></script>
<script src="../../Scripts/MicrosoftMvcAjax.js" type="text/javascript"></script>
<script src="../../Scripts/jquery.unobtrusive-ajax.min.js" type="text/javascript"></script>
<script src="../../Scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
<script src="../../Scripts/jquery-ui-1.8.18.custom.min.js" type="text/javascript"></script>



<script src="../../Scripts/jquery-ui-timepicker-addon.js" type="text/javascript"></script>

<link href="../../Content/ui-lightness/jquery-ui-1.8.18.custom.css" rel="stylesheet" type="text/css" />


<style type="text/css"> 
/* css for timepicker */ 
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
</style> 





<h1>Dodawanie terminów</h1>
<p>Wybierz daty oraz obiekty, na których rozegrane mają zostać mecze</p>
<p>@ViewBag.MessageToClient</p>
<div id="Terms">

</div>

@{
    Html.RenderPartial("CreateAvaibleTerm", new BskLeague.Models.AvaibleTerm());  
}

<h2>
@Html.ActionLink("Generuj", "Generate", "ScheduleGenerator")
</h2>
